package com.newretail.springboot.dao.mapper;

import com.newretail.springboot.entity.City;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author:gaoxu;
 * @Email:gaoxu@benlai.com
 * @DATE:2017-12-28
 * @version:ver1.0.0
 * @Description: Created by gaoxu on 2017-12-28.
 */

@Mapper
public interface CityMapper {
    /**
     * 通过主键查询城市对象
     *
     * @param id
     * @return
     */
    City getCityById(@Param("id") Long id);
}
